﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace MusicOnSpace.View
{
    public partial class Site1 : System.Web.UI.MasterPage
    {
        int time;
        
        protected void Page_Load(object sender, EventArgs e)
        {
            lblTime.Font.Size = 20;
            lblTime.Font.Name = "Trebuchet MS";
            lblTime.Text = DateTime.Now.ToShortTimeString();
        }

        protected void Now_Tick(object sender, EventArgs e)
        {
            //lblTime.Text = DateTime.Now.ToShortTimeString();
            int time = DateTime.Now.Hour;
            lblTime.Text = time.ToString();
        }
    }
}